package service.impl;

import service.AppService;

public class AppServiceImpl implements AppService{

	@Override
	public void add(int i1, int i2) {
		int hasil = i1 + i2;
		System.out.println("Hasil Method Add : " + hasil);
	}

	@Override
	public void subtract(int i1, int i2) {
		int hasil = i1 - i2;
		System.out.println("Hasil Method Subtract : " + hasil);
	}

	@Override
	public void divide(int i1, int i2) {
		int hasil = i1 / i2;
		System.out.println("Hasil Method Divide : " + hasil);
	}

	@Override
	public void multiply(int i1, int i2) {
		int hasil = i1 * i2;
		System.out.println("Hasil Method Multiply : " + hasil);
	}

}
